package com.dzh.pojo;

public class UserTour {
    private String username;
    private String tourid;
    private Tour tour;

    @Override
    public String toString() {
        return "UserTour{" +
                "username='" + username + '\'' +
                ", tourid='" + tourid + '\'' +
                ", tour=" + tour +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTourid() {
        return tourid;
    }

    public void setTourid(String tourid) {
        this.tourid = tourid;
    }

    public Tour getTour() {
        return tour;
    }

    public void setTour(Tour tour) {
        this.tour = tour;
    }

    public UserTour(String username, String tourid, Tour tour) {
        this.username = username;
        this.tourid = tourid;
        this.tour = tour;
    }

    public UserTour() {
    }
}
